<template>
  <div class="icon-card">
    <img :src="imgUrl" alt="" />
    <span>{{ title }}</span>
  </div>
</template>

<script>
export default {
  name: "IconCard",
  props: {
    imgUrl: String,
    title: String,
  },
};
</script>

<style lang="scss" scoped>
.icon-card {
    display: flex;
    align-items: center;
    height: 1.0667rem;
    padding-left: .5333rem;

    img {
      width: 0.5333rem;
      margin: 0 5px;
    }
    span {
      font-size: 16px;
    }
  }
</style>